import Vue from 'vue'
import App from './App.vue'
// 引入路由
import router from '@/router'
// 引入vuex
import store from '@/store'
import '@/mock/mockServe'
// 引入轮播图样式
import 'swiper/css/swiper.css'
// 进度条
import { resgetCategory } from '@/api'
resgetCategory()
// 三级菜单全局组件
import TypeNav from '@/components/TypeNav'
import Carsousel from '@/components/Carsousel'
Vue.component('TypeNav',TypeNav)
Vue.component('Carsousel',Carsousel)
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
